<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>password visual </title>
  <link rel="stylesheet" href="layout.css">
 </head>
<body>
<div class='main'>
  密码：<input id="pwd" type='password' autofocus>
  <div id="eye">隐藏</div>
  <input class = "pwd-text">
<div>
<script src="//apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="main.js"></script>
</body>
</html>
